package com.oschat.entity.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Description TODO
 * @Classname AppConfig
 * @Date 2024/11/1 14:20
 * @Created by panda
 */
@Component("appConfig")
public class AppConfig {

    /*
    * 超级管理员*/
    @Value("${admin.emails:}")
    private String adminEmails;

    /*
    * 文件目录*/
    @Value("${project.folder:}")
    private String projectFolder;

    /*
    * ws端口*/
    @Value("${ws.port:}")
    private Integer wsPort;

    public String getAdminEmails() {
        return adminEmails;
    }

    public String getProjectFolder() {

        return projectFolder;
    }

    public Integer getWsPort() {
        return wsPort;
    }
}
